const msg = (str, icon = 'none') => {
	uni.showToast({
		title: str,
		icon: icon
	})
}
const queryStringify= (obj) =>{
		let res = []
		for (let k in obj) {
			res.push(`${k}=${obj[k]}`)
		}
		return res.join('&')
	}

export default {
	msg,
	queryStringify
}